---
hide_table_of_contents: true
---

import CodeBlock from "@theme/CodeBlock";

# StackExchange Tool

The StackExchange tool connects your agents and chains to StackExchange's API.

## Usage

import ToolExample from "@examples/tools/stackexchange.ts";

<CodeBlock language="typescript">{ToolExample}</CodeBlock>

## Related

- Tool [conceptual guide](/docs/concepts/tools)
- Tool [how-to guides](/docs/how_to/#tools)
